package com.zengjianjun.storm.demo.config;

import org.apache.storm.Config;

/**
 * @author zengjianjun
 */
public class StormConfig {

    public static Config localConfig() {
        Config config = new Config();
        config.setDebug(false);
        config.setNumWorkers(1);
        return config;
    }

    public static Config remoteConfig() {
        Config config = new Config();
        config.setDebug(false);
        return config;
    }
}
